package com.liu.eduService.mapper;

import com.liu.eduService.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liu.eduService.entity.FrontVo.FrontCourseAllInfoVo;
import com.liu.eduService.entity.vo.CoursePublishVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author LSJ
 * @since 2022-01-07
 */
@Repository
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    CoursePublishVo getCoursePublishInfo(@Value("courseId") String courseId);

    FrontCourseAllInfoVo getCourseAllInfo(@Value("courseId")String courseId);
}
